package com.nation.service;

import com.nation.domain.TCountry;
import com.nation.domain.TNationInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by dqd on 2017/11/2.
 */
public interface NationInfoService {
    //查询所有基本信息
    public List<TNationInfo> findAllNationInfo();
    //按主键国家代码查询
    public TNationInfo findByCountryCode(String country_code);
    //修改信息
    public Boolean updateNationInfo(TNationInfo nationInfo);
    //条件查询
    public List<TNationInfo> findByCondition(Map<String,Object> map);
    //上传国旗

    public void uploadNationFile(List<String> picture_paths,String input_code,int selectFileKind);
//    上传国家相关信息
public void uploadNationMessage(List<List<String>> messages,String input_code);

    public void upload_flag_ZIP(List<String> picture_paths,String input_code);
    //按页数查找
    public List<TNationInfo> findNationInfoByLimit(Map<String,Object> map);

    public TCountry findCountryByName(String name);

    public Boolean insertNationInfo(TNationInfo nationInfo);
    //    通过中文名字查询国家代码
    public String getCountryCodeByNation_z(String nation_z);

    public Boolean delete(String pk);

}
